﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x0200011A RID: 282
	public class TRedshiftSessionAuthorization : TCustomSqlStatement
	{
		// Token: 0x06000920 RID: 2336 RVA: 0x00302FCE File Offset: 0x003011CE
		public TRedshiftSessionAuthorization(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftSetSessionAuthorization;
		}

		// Token: 0x06000921 RID: 2337 RVA: 0x00302FE2 File Offset: 0x003011E2
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000922 RID: 2338 RVA: 0x00302FF7 File Offset: 0x003011F7
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000923 RID: 2339 RVA: 0x00303007 File Offset: 0x00301207
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
